#ifndef BIT_FLAG_H_INCLUDED_6950015
#define BIT_FLAG_H_INCLUDED_6950015
//-----------------------------------------------------------------------------
// Copyright (c) 2011 David Waby
// Initially created on 01/11/2011
//-----------------------------------------------------------------------------

typedef unsigned int BitFlag;
#define BITFLAG_SET(bitflag, flag)		(bitflag |= flag)
#define BITFLAG_CLEAR(bitflag, flag)	(bitflag &= ~flag)
#define BITFLAG_ISSET(bitflag, flag)	((bitflag & flag) == flag)

//-----------------------------------------------------------------------------
#endif // BIT_FLAG_H_INCLUDED_6950015

